package com.digitalchina.lxnsy.activity.old;

import android.view.View;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.base.BaseActivity;
import com.digitalchina.lxnsy.toolkit.GotoUtil;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.activity
 * 创建人：白彦东
 * 创建时间：2017/1/12 9:55
 * 修改备注：
 * ================================================
 */

public class TradeFailedActivity extends BaseActivity {

    private TextView tvReturnMall; // 返回商城
    private TextView tvOrderManage; // 订单管理

    @Override
    public void setLayout() {
        setContentLayout(R.layout.activity_trade_failed);
        setTitle("支付失败");
    }

    @Override
    public void initMember() {
        tvReturnMall = (TextView) findViewById(R.id.failed_tv_return_mall);
        tvOrderManage = (TextView) findViewById(R.id.failed_tv_order_manage);
    }

    @Override
    public void addListener() {

        tvReturnMall.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                GotoUtil.gotoActivity(TradeFailedActivity.this, DataMallListActivity.class, true);
            }
        });

        tvOrderManage.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                showToast("订单列表正在建设当中...");
            }
        });

    }

    @Override
    public void setHandler() {

    }

    @Override
    public void callBack(Object object) {

    }

    @Override
    public void rightOnClick() {

    }
}
